//
// Created by ChaoDONG on 2021-03-23.
//

/* rand0.c -- produces random numbers */
/* rand0.c --生成随机数*/
/* uses ANSI C portable algorithm */
/* 使用 ANSI C 可移植算法 */



/* r_drive0.c -- test the rand0() function */
/* compile with rand0.c */
#include <stdio.h>
extern int rand0(void);
int main(void)
{
    int count;
    for (count = 0; count < 5; count++)
        printf("%d\n", rand0());
    return 0;
}
